package com.confinderence.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Employee implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5603256862589881910L;
	private long id;
	private String username;
	private String password;
	private String email;
	private String name;
	private Company company;
	private boolean isActive;
	private Date lastLogin;
	private List<Conference> conferences;

	public List<Conference> getConferences() {
		return conferences;
	}

	public void setConferences(List<Conference> conferences) {
		this.conferences = conferences;
	}

	public Employee() {

	}

	public Employee(String username, String password, String email, String name, Company company,
			boolean isActive, Date lastLogin) {
		super();
		this.username = username;
		this.password = password;
		this.email = email;
		this.name = name;
		this.company = company;
		this.isActive = isActive;
		this.lastLogin = lastLogin;
	}

	public long getId() {
		return id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}

	public Date getLastLogin() {
		return lastLogin;
	}

	public void setLastLogin(Date lastLogin) {
		this.lastLogin = lastLogin;
	}

}
